Introduction In the past fifteen years, energy demand has increased tenfold and energy costs have quadrupled. Power outages and power cuts have occurred in the United States and other countries, and this situation will continue to worsen as energy demand grows and energy production cannot be maintained. According to the latest report from North American Electric Reliability Corp, it is estimated that in the next decade alone, the US electricity demand will increase by 141,000 megawatts, while the new resources confirmed in the same period are only 57,000 megawatts. This resulted in a gap of 84,000 megawatts, equivalent to the total power generation of 160 large power plants. According to the US Energy Information Administration, power generation (mostly supplying power to lighting applications) produces 37% of greenhouse gases, so we should start looking for alternative energy sources such as solar energy. Solar energy is a green technology and costs no as much as hydropower, geothermal or nuclear energy. In the 21st century, up to 300 million households in developing countries lack adequate lighting. The reasons may vary, but may include purchasing power (too high cost), lack of infrastructure, and imbalance between supply and demand. Many families use homemade kerosene lamps Or candle for lighting. These dim, yellow, black smoke sources are very hazardous and not environmentally friendly. In the long run, they cost more than bright, white, solar-powered, high-brightness light-emitting diode (HB LED ) sources. Why choose HBLED for lighting? Longer life LEDs are longer than any other source and have a lifetime of more than a decade in many applications. They contain solid-state technology similar to that used in the latest microprocessors. These solid-state devices have no moving parts, no fragile glass, no mercury, no harmful gases, no filaments. There are no things that can be broken, broken, shattered, leaked or contaminated. Unlike typical conventional light sources, LEDs do not suddenly fail or burn out. The LED light source does not suddenly stop working at any time, but the LED performance will gradually decrease over time. It is predicted that the average brightness of most LEDs after 50,000 hours of operation will still be 70% of the initial brightness. For example, in an application environment where the light source is used for 12 hours per day for 365 days per year, the system that has been used for more than eleven years has only 30% attenuation of the initial luminance output (70% lumen maintenance). Table 1 Comparison of light sources Figure 1 LED lighting development map Reduce maintenance costs Since the LED-based light source lasts ten times longer than a conventional light source and does not require frequent replacement, it reduces or even eliminates daily maintenance costs and periodic replacement costs. This is especially important in critical, modulated lighting applications such as buoys, beacon lights, emergency exit lighting, backup lighting, and security lighting, which typically require periodic lamp replacement. More energy efficient LED light sources are more efficient than incandescent lamps and most tungsten halogen lamps. White LEDs can provide more than 20 luminous flux units per watt and are expected to reach more than 50 luminous flux units per watt in the future. When choosing solid state lighting as an alternative to lighting, the overall benefits of the system level must be considered. For example, due to the superior luminous flux performance per watt, LEDs used in building lighting systems consume less energy per hour than competing sources, making them more environmentally friendly and more cost effective. LED advantages ·Reliable (100,000 hours) - lower maintenance costs · More energy efficient – ​​green, cost-effective solutions · Instant turn-on and fully dimmable, no color change - Pulse Width Modulation (PWM) control · No mercury - in line with environmental regulations Low voltage DC operation - no high voltage connection required How solar-powered LED lighting works Figure 2 is a block diagram illustrating the implementation of a solar-based LED illumination. The solar panel converts the solar energy into a voltage that is then stored in the battery. Freescale 8-bit HCS08QG4/8 microcontrollers (MCUs) with two-channel, 16-bit timers are used for battery charging and monitoring to drive LEDs. The PWM is used for battery charging and the analog to digital converter (ADC) is used to monitor the battery voltage. If the voltage drops below 50% of full charge, the brightness of the LED is automatically reduced to 50% by changing the duty cycle of the alternate PWM channel. The goal is to provide longer duration illumination, even if the brightness is reduced. If the battery voltage drops to 10%, the MCU will turn off the LEDs to ensure that the battery is not completely drained. Figure 2 Solar-based LED lighting Choose the right microcontroller There are several options for choosing an MCU for solar-powered LED applications. The HCS08QG4/8 devices combine the required features with great price at a very competitive price. The MC9S08QG8/4 extends the benefits of the Freescale HCS08 core to low pin count, small package options. The QG device is a low voltage device with an on-chip on-line flash programmable voltage as low as 1.8V. It includes all the standard features of the HCS08 MCU, such as standby mode, multiple stop mode, powerful emulation, a complete set of serial modules, temperature sensors and powerful memory options. Table 2 Characteristics of MC9S08QG8/4 16-pin DIP/TSSOP/QFN application Solar-powered HBLED lighting can be used for street lighting, home lighting, emergency lights and country lighting. Traffic lights are turned on day and night in most cities, and street lighting is turned on most of the day. A solution that uses HB LED technology instead of a traditional halogen or energy-saving lamp (CFL) can achieve significant savings in energy and maintenance costs. The International Finance Corporation (IFC) is a private investment arm of the World Bank Group's “Land of Illuminated Pyramids†project, which plans to sell solar-powered LED lighting systems to 1.6 billion people around the world who are not connected to the grid. Due to the lack of electrical lighting, many of them and their businesses have instead relied on carbon fuels (such as kerosene) to meet their lighting needs. By using solar and LED lighting at these locations, we can reduce health hazards and greenhouse gas emissions associated with fossil fuel combustion. Final description of energy savings In 2006, China was the second largest power consumer in the world, consuming a total of 2.475 billion kWh of electricity, 12% of which was used for lighting. By 2020, if the LED efficiency reaches 150 lm/W, even if it only penetrates 30% of the Chinese market, the annual energy savings will reach 200 billion kWh. in conclusion LED lighting technology is a far-reaching, quantifiable alternative energy solution that saves energy and costs, providing a low maintenance cost solution for a variety of lighting applications. Because electricity is used much less than many traditional lighting methods, LEDs can help improve the environment by reducing power generation and its corresponding greenhouse gas emissions. (Edit: xiaoyao) SHAOXING COLORBEE PLASTIC CO.,LTD , https://www.fantaicolorbee.com